package com.gulimall.product.feign;

import com.gulimall.common.to.SkuReductionTo;
import com.gulimall.common.to.SpuBoundTo;
import com.gulimall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * @author 张鹏
 * @company 公司名称
 * @create 2021-12-03-9:34
 */
@Component
@FeignClient(value = "gulimall-coupon")
public interface CouponFeignService {

    @PostMapping(value = "/coupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundTo spuBoundsTo);

    @PostMapping(value = "/coupon/skufullreduction/saveinfo")
    R saveSkuReduction(@RequestBody SkuReductionTo skuReductionTo);


}
